package com.atguigu.crud.bean;

public class Department
{
    private Integer deptId;

    private String deptName;

    public Department()
    {
    }

    public Department(Integer deptId, String deptName)
    {
        this.deptId = deptId;
        this.deptName = deptName;
    }

    public Integer getDeptId()
    {
        return deptId;
    }

    public void setDeptId(Integer deptId)
    {
        this.deptId = deptId;
    }

    public String getDeptName()
    {
        return deptName;
    }

    public void setDeptName(String deptName)
    {
        this.deptName = deptName == null ? null : deptName.trim();
    }
}